package cn.xiaoyu.fastec.app;

import android.app.Application;

import com.joanzapata.iconify.fonts.FontAwesomeModule;
import com.joanzapata.iconify.fonts.IoniconsModule;

import cn.xiaoyu.snake.Snake;

/**
 * Created by fengzhe on 2017/7/17.
 */

public class EcApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        // init configuration
        Snake.init(this)
                .withApiHost("http://127.0.0.1")
                .withIcons(new FontAwesomeModule())
                .withIcons(new IoniconsModule())
                .configure();
    }
}
